<html>
<head><meta charset="utf-8"><title>Questions on #71827 · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Questions.20on.20.2371827.html">Questions on #71827</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="206363953"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Questions%20on%20%2371827/near/206363953" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pi Lanningham <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Questions.20on.20.2371827.html#206363953">(Aug 08 2020 at 21:03)</a>:</h4>
<p>Hey all!  A while back I opened up <a href="https://github.com/rust-lang/rust/pull/71827">https://github.com/rust-lang/rust/pull/71827</a>.  I have a few questions to get it over the finish line, but the person who was originally helping me seems to be really busy.  I don't want to pester him, so someone suggested I reach out here on zulip.</p>
<p>Specifically, answers to any of the following would be really helpful:</p>
<ul>
<li>Are there better ways to grow or shrink spans? I'm doing a lot of casting and arithmetic</li>
<li>Given a span for a whole function definition, is there a standard way for shrinking it to just cover the method name / signature?</li>
<li>Given a span, how can I look up the code snippet that that span covers?</li>
<li>And, most importantly, given a type/expr, how can I get a human readable string for it, for error messages?</li>
</ul>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>